﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="news.aspx.cs" Inherits="Mukhopatro.Admin.news" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br class="clear" />
    <asp:GridView ID="grvData" runat="server" AutoGenerateColumns="false" CssClass="table table-hover">
        <HeaderStyle CssClass="HeaderStyle" />
        <RowStyle CssClass="RowStyle" />
        <AlternatingRowStyle CssClass="White" />
        <Columns>
            <asp:BoundField DataField="Title" HeaderText="Title" />
            <asp:BoundField DataField="PublishDate" HeaderText="PublishDate" />
            <asp:BoundField DataField="IsActive" HeaderText="IsActive" />
            <asp:TemplateField>
                <ItemTemplate>
                    <a class="icon-5 info-tooltip" href="" title="view"></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <a class="icon-1 info-tooltip" href="<%= Mukhopatro.Helpers.SiteSettings.BaseUrl %>admin/edit-news.aspx?id=<%# Imgalib.Utility.Cryptography.Encrypt(Eval("Id").ToString()) %>"
                        title="edit"></a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <br class="clear" />
    <div class="grid_10 alpha">
        <asp:Repeater ID="repPager" runat="server" OnItemCommand="repPager_ItemCommand">
            <ItemTemplate>
                <asp:LinkButton ID="lnbPageIndex" runat="server" CommandArgument='<%# Container.DataItem.ToString() %>'><%# Container.DataItem.ToString() %></asp:LinkButton>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="grid_10 omega">
        Total
        <asp:Literal ID="litTotalRecordCount" runat="server"></asp:Literal>
        Records Found
    </div>
</asp:Content>
